package com.quanyan.place.entity.apiresp;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Kingson.chan on 2016/5/27 0027.
 */
public class RespPlaceUnitSalePlan implements Serializable  {
    private String saleId;

    private Integer placeId;

    private Integer placeUnitId;

    private String date;

    private String startTime;

    private String endTime;

    private BigDecimal price;

    private BigDecimal memberPrice;

    private BigDecimal lowestPrice;

    private Byte status;

    private String lockRemarks;

    private Integer bundleNo;

    private Date operateTime;//操作时间（锁场）

    private String opertator;//操作员（锁场）

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getOpertator() {
        return opertator;
    }

    public void setOpertator(String opertator) {
        this.opertator = opertator;
    }

    public Integer getBundleNo() {
        return bundleNo;
    }

    public void setBundleNo(Integer bundleNo) {
        this.bundleNo = bundleNo;
    }

    public String getLockRemarks() {
        return lockRemarks;
    }

    public void setLockRemarks(String lockRemarks) {
        this.lockRemarks = lockRemarks;
    }

    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getPlaceUnitId() {
        return placeUnitId;
    }

    public void setPlaceUnitId(Integer placeUnitId) {
        this.placeUnitId = placeUnitId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(BigDecimal memberPrice) {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getLowestPrice() {
        return lowestPrice;
    }

    public void setLowestPrice(BigDecimal lowestPrice) {
        this.lowestPrice = lowestPrice;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        RespPlaceUnitSalePlan that = (RespPlaceUnitSalePlan) o;

        return !(startTime != null ? !startTime.equals(that.startTime) : that.startTime != null);

    }

    @Override
    public int hashCode() {
        return startTime != null ? startTime.hashCode() : 0;
    }
}
